<?php
/*
	首页
*/

defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
if($_RQ['op']=='get'){
	$return['list']=$this->pluginsactions();
	//推荐
	$return['recommands']=array(
		array('title'=>'限时秒杀','img'=>'../core/resource/images/diy/icon/icon-miaosha.png','action'=>'jy_seckill/index/'),
		array('title'=>'超值拼团','img'=>'../core/resource/images/diy/icon/icon-ping.png','action'=>'jy_aligroup/index/'),
		array('title'=>'助力砍价','img'=>'../core/resource/images/diy/icon/icon-kanjia.png','action'=>'jy_bargain/index/'),
		array('title'=>'购物直播','img'=>'../core/resource/images/diy/icon/icon-live.png','action'=>'jy_cmslive/index/'),
		array('title'=>'领券中心','img'=>'../core/resource/images/diy/icon/icon_coupon.png','action'=>'jy_weishop/coupon.index/'),
	);
	$return['recommands']=$return['setting']['pluginsactions_tuijie']?:$return['recommands'];
	set_html('title','百宝箱');
	$page_keywords=cfc('core')->get_page_keywords('jy_weishop','allplugins');	
	set_html('keywords',$setting['share_keywords']?:$page_keywords);
	set_html('description',$return['sharedata']['desc']);
	exi($return);
}
	
?>